<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>过渡</title>
		<style type="text/css">
			.box{
				width: 200px;
				height: 200px;
				background-color: pink;
				/* transition: 过渡属性 过渡花费时间 
				ease:慢-快-慢，默认值
				ease-in:低速开始
				ease-out:低速结束
				ease-in-out:低速开始和低速结束
				linear:匀速
				linear 3s:延迟3s再过渡
				all:所有的
				*/
				transition: all 3s linear;
			}
			/* 鼠标悬停 */
			.box:hover{
				width: 1000px;
				height: 100px;
				background-color: skyblue;
			}
		</style>
	</head>
	<body>
		<div class="box"></div>
	</body>
</html>
